package com.tsd.base.dao;

import com.tsd.base.entity.BaseExchangeRateLog;
import com.tsd.base.entity.BaseExchangeRateLogExt;
import com.tsd.core.vo.PageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：BaseExchangeRateLogMapper
 *
 * @author zsy
 * @date 2020/12/29 15:22:59
 */
public interface BaseExchangeRateLogMapper {

    BaseExchangeRateLog selectByPrimaryKey(Long id);

    BaseExchangeRateLogExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(BaseExchangeRateLog record);

    int insertSelective(BaseExchangeRateLog record);

    int updateByPrimaryKey(BaseExchangeRateLog record);

    int updateByPrimaryKeySelective(BaseExchangeRateLog record);

    List<BaseExchangeRateLogExt> selectByEntity(BaseExchangeRateLog record);

    List<BaseExchangeRateLogExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<BaseExchangeRateLogExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<BaseExchangeRateLogExt> selectByParams(@Param("params") Map<String, Object> params);
}
